﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace System.BusinessObjects.Membership
{
    public class ManageUsersControls : UserControl, INamingContainer
    {
        GridView grdUsers = null;
        GridView grdRoles = null;

        ObjectDataSource odsMembers;
        ObjectDataSource odsRoles;

        //public ObjectDataSource OdsMembers
        //{
        //    get
        //    {
        //        if (odsMembers == null)
        //        {
        //            odsMembers = new ObjectDataSource();
        //            odsMembers.sel
        //        }

        //        return odsMembers;
        //    }
        //    set
        //    {
        //        odsMembers = value;
        //    }
        //}

        public ObjectDataSource OdsRoles
        {
            get
            {
                return odsRoles;
            }
            set
            {
                odsRoles = value;
            }
        }

        protected override void EnsureChildControls()
        {
            base.EnsureChildControls();
            Controls.Clear();

            createMembersGrid();
        }

        private void createMembersGrid()
        {

        }
    }
}
